package com.cxyd.modules.wms.service;

import com.cxyd.common.page.PageData;
import com.cxyd.common.service.CrudService;
import com.cxyd.common.utils.ProcResult;
import com.cxyd.modules.wms.dto.ErpReelDTO;
import com.cxyd.modules.wms.dto.PurchaseDetailDTO;
import com.cxyd.modules.wms.dto.TaskDTO;
import com.cxyd.modules.wms.entity.TaskEntity;

import java.util.Map;

/**
 * 业务记录
 *
 * @author g_Cycle gengruyi01@163.com
 * @since 1.0.0 2023-04-27
 */
public interface TaskService extends CrudService<TaskEntity, TaskDTO> {
    PageData<TaskDTO> rfPage(Map<String, Object> params);

    PageData<TaskDTO> contBackList(Map<String, Object> params);

    ProcResult taskAffirm(Map<String, Object> params);

    ProcResult taskCancel(Map<String, Object> params);

    ProcResult emptyRegister(Map<String, Object> params);

    ProcResult emptyCall(Map<String, Object> params);
    ProcResult checkAffirm(Map<String, Object> params);

    ProcResult requestContOut(Map<String, Object> params);

    ProcResult requestContIn(Map<String, Object> params);

    PageData<ErpReelDTO> reelAsk(String reelId);

    ProcResult contBack(Map<String,Object> params);

    int selectEmptyCount(Map<String, Object> params);

    String getSafeRate();

}